#ifndef MAPSCREENSTATE_H_INCLUDED
#define MAPSCREENSTATE_H_INCLUDED

#include "GameState.h"
#include "AManOfMapsState.h"
#include <TGUI/TGUI.hpp>

class mapscreenState : public GameState{

public:
	void Init(sf::RenderWindow& window);
	void Cleanup();

	void Pause();
	void Resume();

	void Events(GameEngine* game, sf::RenderWindow& window);
	void Update(GameEngine* game, sf::RenderWindow& window);
	void Render(GameEngine* game, sf::RenderWindow& window);

	static mapscreenState* Instance() {
		return &m_mapscreenState;
	}

protected:
	mapscreenState() { }

private:
    static mapscreenState m_mapscreenState;

    sf::View view;

    tgui::Gui gui;
    sf::Event event;
    sf::RectangleShape testRect;

    std::vector<sf::RectangleShape> mapIcons;
    sf::RectangleShape rect1;
    sf::RectangleShape rect2;

    sf::Sprite mapBorder;
    sf::Texture mapBorderTexture;

};

#endif // MAPSCREENSTATE_H_INCLUDED
